<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
  // Object.entries(xxx)   说明将对象或数组  遍历成数组，以键值对的形式
  // 作用： object 转换成 map
  const  obj = {name:'jack',age:21,school:'abc'}
  const data = Object.entries(obj)
  console.log(data)
  console.log(data[1])
  console.log(data[1][1])
</script>
</body>
</html>